package com.bingxue.edu.common.config;

import com.bingxue.edu.framework.config.DynamicConfig;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author panbo
 * @since 2025/2/6
 */
@Data
@DynamicConfig
@Configuration(proxyBeanMethods = false)
@ConfigurationProperties(prefix = "education")
public class EducationProperties {

    private SignInConfig signIn;

    @Data
    public static class SignInConfig {
        private Boolean timeLimited = true;
        private Integer timeLimitHourBefore = 1;
        private Integer timeLimitNextMonthDayAfter = 2;
    }
}
